package com.beyond.framework.privilege;

import com.beyond.framework.privilege.annotations.Privilege;

import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: lewisw
 * Date: Sep 8, 2010
 * Time: 5:26:50 PM
 */
public class AbstractPrivilegeValidator implements PrivilegeValidator {

    public boolean validate(Privilege privilege) {
        return have(privilege);
    }

    private boolean have(Privilege privilege) {
        Set<Privilege> privilegeSet = getPrivilegeSet();
        return true;
    }

    private Set<Privilege> getPrivilegeSet() {

        return null;
    }
}
